package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by hgz
 * 评论列表详情
 */
public class CommentBean extends BaseEntity {

    /**
     * pageInfo : {"curPage":0,"hasMore":false,"pageSize":0}
     * resultList : [{"id":"string","fromUser":{"id":"string","headPicName":"string","nickName":"string","userName":"string"},"intime":"string","msgContent":"string","toUser":{"id":"string","headPicName":"string","nickname":"string","userName":"string"}}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 0
         * hasMore : false
         * pageSize : 0
         */

        private PageInfoBean pageInfo;
        /**
         * id : string
         * fromUser : {"id":"string","headPicName":"string","nickname":"string","userName":"string"}
         * intime : string
         * msgContent : string
         * toUser : {"id":"string","headPicName":"string","nickname":"string","userName":"string"}
         */

        private List<ResultListBean> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<ResultListBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<ResultListBean> resultList) {
            this.resultList = resultList;
        }
        public static class ResultListBean {
            private String id;

            private FromUserBean fromUser;
            private String intime;
            private String msgContent;
            private String type;
            private String neighborId;
            /**
             * id : string
             * headPicName : string
             * nickname : string
             * userName : string
             */

            private ToUserBean toUser;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public FromUserBean getFromUser() {
                return fromUser;
            }

            public void setFromUser(FromUserBean fromUser) {
                this.fromUser = fromUser;
            }

            public String getIntime() {
                return intime;
            }

            public void setIntime(String intime) {
                this.intime = intime;
            }

            public String getMsgContent() {
                return msgContent;
            }

            public void setMsgContent(String msgContent) {
                this.msgContent = msgContent;
            }

            public ToUserBean getToUser() {
                return toUser;
            }

            public void setToUser(ToUserBean toUser) {
                this.toUser = toUser;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getNeighborId() {
                return neighborId;
            }

            public void setNeighborId(String neighborId) {
                this.neighborId = neighborId;
            }

            public static class FromUserBean {
                private String id;
                private String headPicName;
                private String nickName;
                private String userName;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getHeadPicName() {
                    return headPicName;
                }

                public void setHeadPicName(String headPicName) {
                    this.headPicName = headPicName;
                }

                public String getNickname() {
                    return nickName;
                }

                public void setNickname(String nickname) {
                    this.nickName = nickname;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }
            }

            public static class ToUserBean {
                private String id;
                private String headPicName;
                private String nickName;
                private String userName;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getHeadPicName() {
                    return headPicName;
                }

                public void setHeadPicName(String headPicName) {
                    this.headPicName = headPicName;
                }

                public String getNickname() {
                    return nickName;
                }

                public void setNickname(String nickname) {
                    this.nickName = nickname;
                }

                public String getUserName() {
                    return userName;
                }

                public void setUserName(String userName) {
                    this.userName = userName;
                }
            }
        }
    }
}
